package com.cblz.bd.server;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Slf4j
@MapperScan("com.cblz.bd.**.**.mapper")
@SpringBootApplication
@EnableTransactionManagement
public class BdServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(BdServerApplication.class, args);
        log.info("启动成功");
    }

}
